<?php
/**
 * Created by PhpStorm.
 * User: 69548
 * Date: 2018/9/19
 * Time: 14:54
 */

namespace app\admin\model;


use think\Model;

class Tripcdk extends Model
{
    public function trip()
    {
        //关联行程表
        return $this->belongsTo('Trip','trip_id','id');
    }
    public function member()
    {
        //关联行程表
        return $this->belongsTo('Member');
    }
    public function admin()
    {
        //关联行程表
        return $this->belongsTo('Admin','admin_id','id');
    }
}